g++ -Wall -g -O0 -fPIC -c shlibdemo.cpp
g++ -shared shlibdemo.o -Wl,-soname,libshlibdemo.so.1 -o libshlibdemo.so.1.0.0

ldconfig -n .
ln -s libshlibdemo.so.1 libshlibdemo.so
